import request from '@/utils/request'

// 理工
export function getCollegeMajors(params) {
  return request({
    url: '/gaokao/admission/',
    method: 'GET',
    params
  })
}

export function getColleges(params) {
  return request({
    url: '/gaokao/college/',
    method: 'GET',
    params
  })
}

export function getMajors(params) {
  return request({
    url: '/gaokao/major/',
    method: 'GET',
    params
  })
}

export function getAreas(params) {
  return request({
    url: '/gaokao/area/',
    method: 'GET',
    params
  })
}

export function getProvinces(params) {
  return request({
    url: '/gaokao/province/',
    method: 'GET',
    params
  })
}

export function getCities(params) {
  return request({
    url: '/gaokao/city/',
    method: 'GET',
    params
  })
}

// 文史

export function getWsCollegeMajors(params) {
  return request({
    url: '/gaokao/ws_admission/',
    method: 'GET',
    params
  })
}

export function getWsColleges(params) {
  return request({
    url: '/gaokao/ws_college/',
    method: 'GET',
    params
  })
}

export function getWsMajors(params) {
  return request({
    url: '/gaokao/ws_major/',
    method: 'GET',
    params
  })
}

export function getWsAreas(params) {
  return request({
    url: '/gaokao/ws_area/',
    method: 'GET',
    params
  })
}

export function getWsProvinces(params) {
  return request({
    url: '/gaokao/ws_province/',
    method: 'GET',
    params
  })
}

export function getWsCities(params) {
  return request({
    url: '/gaokao/ws_city/',
    method: 'GET',
    params
  })
}